* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

html,
body,
.app {
    height: 100%;
    background: #fff;
}

// 初始化标签默认样式
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

em {
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Source Sans Pro", sans-serif;
}


// 宽高继承
.full {
    width: 100%;
    height: 100%;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

// 浮动
.f-left {
    float: left;
}

.f-right {
    float: right;
}


// font-size
.f36 {
    font-size: 36px;
}

.f24 {
    font-size: 24px;
}

.f18 {
    font-size: 18px;
}

.f14 {
    font-size: 14px;
}

.f12 {
    font-size: 12px;
}

.bold {
    font-weight: bold;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

// 单行文本溢出隐藏
.single {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

// 多行文本溢出隐藏 结合 .text-line-*使用
.more {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.text-line-2 {
    -webkit-line-clamp: 2;
}

.text-line-3 {
    -webkit-line-clamp: 3;
}

.text-line-4 {
    -webkit-line-clamp: 4;
}

.text-line-5 {
    -webkit-line-clamp: 5;
}

// 快捷class
.hide {
    display: none;
}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible;
}


.overflow-auto {
    overflow: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.not-allowed {
    cursor: not-allowed;
}


.no-ellipsis,
.no-ellipsis .cell {
    text-overflow: unset;
}

.clearfix:after {
    clear: both;
}

// 居中方式
.v-middle {
    vertical-align: middle;
}

.text-center {
    text-align: center;
}

.text-start {
    text-align: start;
}

// 定位
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

// 无边框
.no-border {
    border: none;
}

// margin
.m5 {
    margin: 5px;
}

.mt5 {
    margin-top: 5px;
}

.mb5 {
    margin-bottom: 5px;
}

.mr5 {
    margin-right: 5px;
}

.ml5 {
    margin-left: 5px;
}

.m10 {
    margin: 10px;
}

.mr10 {
    margin-right: 10px;
}

.mt10 {
    margin-top: 10px;
}

.ml10 {
    margin-left: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.m15 {
    margin: 15px;
}

.mt15 {
    margin-top: 15px;
}

.mr15 {
    margin-right: 15px;
}

.mb15 {
    margin-bottom: 15px;
}

.ml15 {
    margin-left: 15px;
}

.m20 {
    margin: 20px;
}

.ml20 {
    margin-left: 20px;
}

.mt20 {
    margin-top: 20px;
}

.mb20 {
    margin-bottom: 20px;
}

.mr20 {
    margin-right: 20px;
}

.m25 {
    margin: 25px;
}

.ml25 {
    margin-left: 25px;
}

.mt25 {
    margin-top: 25px;
}

.mb25 {
    margin-bottom: 20px;
}

.mr25 {
    margin-right: 25px;
}


.m30 {
    margin: 30px;
}

.mt30 {
    margin-top: 30px;
}

.mr30 {
    margin-right: 30px;
}

.mb30 {
    margin-bottom: 30px;
}

.ml30 {
    margin-left: 30px;
}


// padding
.px5 {
    padding: 0 5px;
}

.p5 {
    padding: 5px;
}

.pt5 {
    padding-top: 5px;
}

.pr5 {
    padding-right: 5px;
}

.pb5 {
    padding-bottom: 5px;
}

.pl5 {
    padding-left: 5px;
}


.px10 {
    padding: 0 10px;
}

.p10 {
    padding: 10px;
}

.pt10 {
    padding-top: 10px;
}

.pb10 {
    padding-bottom: 10px;
}

.pl10 {
    padding-left: 10px;
}

.pr10 {
    padding-right: 10px;
}

.p15 {
    padding: 15px;
}

.pt15 {
    padding-top: 15px;
}

.pb15 {
    padding-bottom: 15px;
}

.pl15 {
    padding-left: 15px;
}

.pr15 {
    padding-right: 15px;
}

.p20 {
    padding: 20px;
}

.pt20 {
    padding-top: 20px;
}

.pb20 {
    padding-bottom: 20px;
}

.pl20 {
    padding-left: 20px;
}

.pr20 {
    padding-right: 20px;
}


// 行内、块级转换
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline
}


// flex
.flex {
    display: flex;
}

.flex1 {
    flex: 1;
}

.flex2 {
    flex: 2;
}

.flex3 {
    flex: 3;
}

.flex4 {
    flex: 4;
}

.flex5 {
    flex: 5;
}

.flex6 {
    flex: 6;
}

.flex7 {
    flex: 7;
}

.flex-center {
    align-items: center;
    justify-content: center;
}



// 主轴
.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-start {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

// 交叉轴
.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

// 改变主轴方向
.flex-d {
    flex-direction: column;
}

// 是否换行
.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

.border-box {
    box-sizing: border-box;
}